finally got all the math figured out for the wacky calculator