complete_capture_matrix function

Complete a capture matrix