public static String formatUnits(String[] units, Boolean[] stresses) {
		StringBuilder output = new StringBuilder();
		// Divide all up to the next-to-last unit with the delimeter
		int i;
		for (i = 0; i < units.length - 1; i++) {
			output.append(units[i] + (stresses[i] ? "(1)" : ""));
			output.append(UNIT_DELIM);
		}
		// Add the last unit
		output.append(units[i] + (stresses[i] ? "(1)" : ""));

		return output.toString();
	}