add scalaprod metrod to Metric in yorick plug-in