add convenience constructor for plugins that do not import vecmath

+guard against NPE