added sample density compensation from Pipe and Menon
Merge pull request #8 from davidssmith/sdc

added sample density compensation from Pipe and Menon