Evaluating the generalisation capability of a CMOS based synapse