The role of conformational dynamics in the evolution and biological function of N64-PTP