fkp works on general 3D coordinates