I think I finally solved the decimal precision issues I was experiencing. Also, formatted the output so it's a little cleaner and easier to read.