Bug/gpc inducing

Changed a lot of checks for if x == None or if x != None to if x is None or if not x is None, respectively. Also, changed the demos so they all work now.