private double rowScale(Double[] row, double scaleFactor)
	{
		for (int i = 0; i < row.length; i++)
		{
			//			mat[rowNum][i] = mat[rowNum][i] * scaleFactor + 0.0;
			futures.add(threadPool.submit(new ScaleThread(row, i, scaleFactor)));
		}
		try {
			for (Future f : futures)
				f.get();
		} catch (InterruptedException e) {
			System.err.println("Error: Interrupted Exception");
		} catch (ExecutionException e) {
			System.err.println("Error: Execution Exception");
		}
		return scaleFactor;
	}