deleted old flowfunction.h, fixed real flowfunction.h return type