Use mean over trials to calculate index, in case of missing data in some trials.  Fixed bug in normalization.
Merge /www/htdocs/t3/wheatplus