Merged prism in spherical coords to libprism

This way libprism has all the prism computations and 2 less files to
worry about.