Got level-set method to work relatively well.