Improved output of preposition function.

Prepositions are now determined in reverse; this works better
due to the way the perspective tree is constructed.