Fixed redirect after matrix multiplication is done.