Removed magnotometer reading to improve run time