Fixed bugs in fitness functions: spike window will not fall out of bounds.
Fixed bugs in fitness functions: spike window will not fall out of bounds.

KaliLab/optimizer,KaliLab/optimizer,vellamike/optimizer,vellamike/optimizer,vellamike/optimizer,vellamike/optimizer,KaliLab/optimizer,vellamike/optimizer,KaliLab/optimizer,KaliLab/optimizer