Added close form update for least squares case
Added closed form update for least squares case
Check for stats and stim fields
Minor changes
Remove zero trials for spiking data
Testing
Updated simulation code