a sword matrix