added some checks in the moves
Merge branch 'development' of github.com:revbayes/revbayes into development