implemented sky to pixel conversions