Added gain scheduling.
Added Headfree mode