Added exception handling for data files that have 1 single entry (i.e. 1 sample).The exception was caused by the

The exception was caused by the fact that numpy returns a list for 1 files with just 1 line of entry, and a 2D array for multiple line entry files.