Manhattan world: Orientation and outlier detection by bayesian inference