fix silly bugs in abstract.pyx
rename generate_func_pyx script to run_generate_func_pyx
update abstract.c
initial commit of unittest: TestCase-running boiler-plate code and test cases for abstract SMA and STOCH