Added error check for CSV input.
Moved double-comparison code to MathUtil class. Moved Portfolio validation code to PortfolioUtil class
Cleaned up validation code