Updated algorithm according to m4 improvements
Updated readme with information about methods.
Updated test values
Merge pull request #6 from commonsmachinery/m4-improv

M4 improv