Added d parameter to circle,cylinder and sphere