cycleMatrix function

Fundamental cycles