fixed access modifier for Matrix Generator