added to unitTest fwdAverage and fwdDifference, and located/fixed several bugs in unitTest
Merge branch 'master' of github.com:imogenproject/gpuImogen