Matrix multiplication works when using manual input (STDIN). Will test input from file next