added check for correct number of samples in header (allows expression file to miss the heading for the first column)