Added a ton of accuracy tests. Added docs for function packages.