Added cpp version of FLStock (not AD)