An automated magnetometer using the Tchebycheff method of numerical integration