Upgraded to version 1.2. Better loss control and uses a percentage of the balance for the gain target rather than a fixed value.