Initial commit of TD microstimulus model (not working yet).