private static final long cos(int degrees) {
		if (degrees < 0)
			return cos(-degrees);
		if (degrees > 90)
			return -cos(degrees - 180);
		// System.out.println("cos of " + degrees + " is " +
		// costable[(int)degrees]);
		return costable[(int) degrees];
	}