Performance Analysis of Magnetic Indoor Local Positioning System