created an init for calculation storage; got it to run only when getFinalCost is called.  made the applyMarkup functions take in the specific variables instead of an object