added version with spatial prior and start of stim probability