First implementation of orientational correlation function. Needs documenting, testing, re-factoring