public static double[] createPerpendicularUnitVector(double[] first,
			double[] second) {

		double x = (first[1] * second[2]) - (first[2] * second[1]);
		double y = (first[2] * second[0]) - (first[0] * second[2]);
		double z = (first[0] * second[1]) - (first[1] * second[0]);

		double[] perpendicular = new double[] { x, y, z };

		double[] normalised = normaliseVector(perpendicular);

		return normalised;

	}