Added pow method to calculator