Changed the selectPCaxes function to add an extra axis above the number of axes that reach the threshold of cumulative variation explained. This is to avoid just picking a single axis which then can't be used for sum and range disparity measures
Fixed the new selectPCaxes code