lbp implemented; moving to testing and optimisation
neighbour coordinates calculation fixed