Working build, got dynamic matrices working