Code and pseudocode for adjusting gain

Added method setGain(float), which allows you to change gain during course of a program, as well as pseudocode for changing the gain of small clips to the appropriate level of compression