Fixed Errors in partitionData.cpp