A novel method for computation of importance weights in Monte Carlo localization on line segment-based maps