Fixing typo
Adding comments to simple.h
Check error to use sum of absolute differences