Had to refactor normalizations
Alg working. Need to do distances now