added features to chomp-matrix