Added a copy of constraints and random_portfolios

Copied from returnanalytics/pkg/PortfolioAnalytics/R