Update for changes to control loop
Update arguments
Implemented and used OUT V ref functions