Export main package function
Adding package prefix in tests files. Add main package function in NAMESPACE. Modification of vignette.