Pure Memory Access fixes.
Merge branch 'master' of https://github.com/myudev/SAMPAC