Version 1.0

Added better comments; fixed issues with files using a number of
channels other than 2.