Fixed problem with cumsum in utils/ensembler.py