added a thetaless version of pixel2vector, plus a wrapper function to choose which to use for the rest of the execution