Total calculations

Totals are working fine