Added compiler optimizations to unroll loops and do system dependent optimizations
Merged changes from 19x19Stable