completed bias sweep calculation