Backpropagation with N-D Vector-Valued Neurons Using Arbitrary Bilinear Products