Fixed "local" bug in Compiler.sml
Fixed bug where Compiler.sml would calculate wrong array index