GenProjection works.

GenProjection function now correctly generates a 3-dimensional array
consisting of the spatial coordinates which are mapped to individual
pixels. Works with equirectangular and equal-area projections.