First implementation of the geometric functions described in the paper
First implementation of the geometric functions described in the paper