added handling of negative numbers
added tests
created plot demo notebook