matrix for a gold mine pdf