Added per-channel prediction state to remove artifacts on block boundaries. Added wav dumping to test program for output inspection.