cap_hist_to_n_m_u function

Convert capture history data to n, m and u for use in BTSPAS