fix npts keyword argument in  constitutive models