got rid of unecessary output, and for better precision we are using bc instead of native bash division (yuck)