added varargout for hitrates and freqs in 13-14