Modeling and simulation of non-spiral coil for magnetic sensing applications