add check that adaptive takestep factor is in (0,1)
Merge pull request #48 from kjs73/factor_safety

add check that adaptive takestep factor is in (0,1)