found and fixed the bug with __into_modes. It was related to non-intuitive behaviour of hp.get_all_neighbours when neighbours do not exist in one of the 8 directions
Merge branch 'master' of https://github.com/reedessick/bayesburst

worked on two different machines simultaneously.