MAT FOUNDATION CALCULATION