RF: created generic optimization functions
TEST: modified tests to reflect new generic optimization functions
RF: changed the references to dipy to popeye in the travis.yml file