figured out how to use normal error law, did not finish implementing