Testing the sign on the STDP weighting matrix