Numerical Methods that Preserve Conservation Laws