Added simple level-set routine.
Started organizing stuff.