Added a pre-processor flags which toggles the array instruction set, and made some minor bug-fixes and improvements