updating badness
added brian's paper notes
added some new dsm graphs
merge from david
adding in notes from today
added if __name__=='__main__'
added some simple error raising
writing update