i feel sure you had set up and event for your revised code.
doesn't work for me until i remove, the following..

event = mat_diffspecpoint_init;

other than that part of the code line it works.