Partially fixed pt_from_xyz