better error checking in analysis object, more notebooks