public void serializeDouble(double[] array, String fileName) {
		FileOutputStream fileOut;
		try {
			fileOut = new FileOutputStream(fileName + ".ser");
			ObjectOutputStream out = new ObjectOutputStream(fileOut);
			out.writeObject(array);
			out.close();
			fileOut.close();
			System.out.println("Serialized data is saved in " + fileName + ".ser");
		} catch (IOException e1) {
			// TODO Auto-generated catch block
			System.out.println("Could not write to " + fileName + ".ser: " + e1);
		}
	}