Optimizations, removing useless temp values
Merge pull request #1 from jyutzler/min

Optimizations, removing useless temp values