Changed Pole class to also contain struct for 3D pole