adding activity method to Material

I did this because otherwise the line of math is really long. I can change it but it looks allowed so I'll leave it for now!