Initial commit of error checking changes so Noah can work on the plane. Add small test suites.
update probablistic-js