degree to radian conversion in objet constructor