cleanup up NISTcurve. removing unsed lines and fixed import