bug fixed: normation from vector R missing;