Matrix multiplication - inconsistent behaviour

Thanks Tamas, I will have fun playing around with that (inside functions only, obviously).