fixed wrong module import
Implemented modular triangulation (seems not work for i3)