Added keywords for distances.
Added functions to function table.