radial distribute function is calculated ver. revised