Reduced the cyclomatic complexity of the ArrayLoader
Merge pull request #74 from stof/reduce_array_loader_complexity

Reduced the cyclomatic complexity of the ArrayLoader