public static double[] divide(double[] weight, double constant){
		int len = weight.length;
		double[] result = new double[len];
		for (int i = 0; i < len; i++) {
			result[i] = weight[i] / constant; 
		}
		return result;
	}