Fixing coordinate transfromation for older NumPy versions.

(RHEL6/CentOS6 compatibility)