partial numpy determinant, major speed boost