implemented brewins IDL algo with sensor configuration