Calculation complete

need to add comments