correcting some unused param warnings in linalg