added linErg tests etc and evaluation of W
added suffix to inputs outputs