debug

fixing many bugs regarding indices etc
improve the code

fixing issues related ISI analysis of second 400 tials
minor changes

add reward component
change the path
few plots
improve the code

remove a few redundant IF
minor changes