LOPO-2: Begin porting basic localisation functions