Constructor Method For Calculating