more algo optimization

added x11 compiler otions to more algo's
Merge pull request #374 from badman74/develop

more algo optimization