Fixed numerous small issues, and added the ability to specify precision