A financial functions library for R programming langauge