new output for weight matrix