Study Of Magnetic Layers In Magnetic Sensors