cleanup of example and tutorial ipython notebooks

Response to issue #574