gokb-generate-matrix collects all needed data