mt_reshape function

General-purpose reshape and aggregation function for mousetrap data.