replaced variable-length array with SG_MALLOC in log_det_test_3
Merge pull request #986 from lambday/develop

replaced variable-length array with SG_MALLOC in log_det_test_3