proj4 function

so this is what I was talking about in #17, not completely done righting the tests yet so don't merge.