Negative proper motion bug is fixed. Also I add normalisation of profiles. Still it works too slow.