Looks like I shouldn't have changed the math.