updated to check for field 'selfreq' in suffix variable
updated comments and code
updated variables used in saving filename: added suffend, removed suffixfreq