1D and 2D position detection using magnetoimpedance sensor array