Theory and learning protocols for the material tempotron model