a few bug fixes
add cutoff to morse potential