bug fix to random displacement step routine, bug fix to adjust step routine, other improvements