proj_trans function

Transform coordinates