Added test folder, changed distances to doubles