An indoor ultrasonic system for autonomous 3D positioning