old_api: fixed bug in connect
unit test env flag for showing plots
Old api: some correctness testing in matrix_mul

Fixed one bug in connect, but still the decoded origins on population C
are wrong.