Swap back lhs and rhs in eqtree
Added an experimental residualization support

The residualizer tries to produce the fastest program
by using the information from HyperTester.