Trawled through localisation to find seg fault errors.