Adding documentation for portfolio returns functions. Minor updates to sandbox files.