FINALLY fixed program-breaking bug. Matrices are multiplying wrong still