Fixed several bugs relating to calculation fields. Rounding places should now work properly.