Handled error when CALCULATION table does not exist. All may be working now.