Martix math is done