Basic balance calculation

Moved into DoubleEntryAccounting