First partially working version of one-step registration. Landmarks is missing