Updates to calculateAccountBalances to prepare for commodity prices