added option homogeneous to rotaxisMat
added option