added another template for eigenToMatlab