Fixed remaining bugs, removed expensive memcpy in max sub buffers, need to tune the matrix update kernel and we're good