fixed issues in excitability analysis