Comments and some change
added resection algorithms from viewer3