fixed a bug. apparently you can just chain matrix mults in numpy like I though you could