Micromechanical Magnetic Sensor Based on Cylindrical Ferromagnets