Now only outputs magnitude of the result.