Having a problem here, every time i try to perform a simple matrices multiply function, it shows as invalid array index , but surprisingly the same thing has worked in other systems.Please help. Have tried defining everything separately but the problem persists.