Application of operational amplifiers to magnetic measurements