Neural Network Localization With TOA Measurements Based on Error Learning and Matching