Added Methods to Calculate.cs