New purging routine

New Purge cycle implemented, including mix.