RF: spruced up the generic optimization functions
TST: fixed the lower-bound of the sigma based on the pixels per degree
TST: added tests for the generic optimization functions
TST: still having weird trouble with the STRF tests.  I can run the thests as in `nosetest popeye/tests/test_strf.py` but I cannot run from the top directory as in `nosetests`