Math - doing something wrong somewhere