fixed problem with Nx2 numpy arrays in geometrical functions (#2783)
Merge pull request #456 from vpisarev:python_ptseq_fix