added matlab evaluation fxns