Optimization fixes
Merge branch 'master' of git://github.com/dahlend/CompressedSensing