rename runderiv() to runlm() and add 'deriv' arg