private final double[][] readMatrixFromFile() throws IOException {

                final BufferedReader br = new BufferedReader(new FileReader(new File("C:/Users/Christina/Java1-workspace/AntColonyTest/src/AntColony/test.tsp")));

                final LinkedList<Record> records = new LinkedList<Record>();

                boolean readAhead = false;
                String line;
                while ((line = br.readLine()) != null) {

                        if (line.equals("EOF")) {
                                break;
                        }

                        if (readAhead) {
                                String[] split = line.trim().split(" ");
                                records.add(new Record(Double.parseDouble(split[1].trim()), Double
                                                .parseDouble(split[2].trim())));
                        }

                        if (line.equals("NODE_COORD_SECTION")) {
                                readAhead = true;
                        }
                }

                br.close();

                final double[][] localMatrix = new double[records.size()][records.size()];
                int replace = 0;
                int rIndex = 0;

                for (Record r : records) {
                        int hIndex = 0;
                        for (Record h : records) {
                        	// The first location in the input file is always replaced with the location of the mobile service request
                        		if(replace == 0) {
                        			r.x = request.getLocation().getLatitude();
                        			r.y = request.getLocation().getLongitude();
                        			h.x = request.getLocation().getLatitude();
                        			h.y = request.getLocation().getLongitude();
                        			replace = 1;
                        		}
                                localMatrix[rIndex][hIndex] = calculateEuclidianDistance(r.x, r.y, h.x, h.y);
                                hIndex++;
                        }
                        rIndex++;
                }

                return localMatrix;
        }