added missing 20 factor texture matrix calculation