This is first update. I add some new function.
Function to create matrix,vector...
I change data in .txt file, and still work with basic data.
I don't have main funtion to calculate distance.: