make matrices by site and time point