Develop pull request from meng

Add TAMPAV and ICN_DIST function