public void writeRawDataToFile(String filename)
		{	
			try {
				BufferedWriter bw = new BufferedWriter(new FileWriter(new File(filename), false));
				bw.write("X,Y,R,Count");
				bw.newLine();
				for(Map.Entry<Coordinate2D, Map<Integer, MutableFloat>> coordEntry : data.entrySet())
				{
					Coordinate2D c = coordEntry.getKey();
					for(Map.Entry<Integer, MutableFloat> radiusEntry : coordEntry.getValue().entrySet())
					{
						bw.write(c.getX() + "," + c.getY() + "," + radiusEntry.getKey() + "," + radiusEntry.getValue().get());
						bw.newLine();
					}
				}
				bw.close();
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}