Changed test to check abs(output - answer) < 1e-15