math with error propagation updated