Fast and Precise Neural Network-Based Environment Detection utilizing UWB CSI for Seamless Localization Applications