Removed dependency on Rails for calculate_scores_spec. Refactored array method.