reverse order of operands
improve logic
correct inverse and start a new Travis build.
Merge pull request #1353 from nden/performance-improvement

Performance improvement