excitability analysis

Updated and fixed bug