fix comparison of vectors and matrices in JME part

needed to wrap the components in TNum objects.