Self-organizing adaptive map: Autonomous learning of curves and surfaces from point samples