SJ: implemented the cylindricalMatrix