added transient and recurrent class code
added scipy (sparse matrices) and pydot2