Added .Rd documentation files for each function