Uploaded work on the math calculations