Method and apparatus for controlling the flying height of the head in a magnetic storage unit