In NY I have heard that called "karst". It is the matrix that quartz (and gypsum) forms in. I believe it is dolomite and other rocks - the kind that caves form in because water allows carbolic acid to form and to remove portions of it (hence the odd cavities in your sample). Sedimentary carbonate rock.