The combinatorics of LCD codes: linear programming bound and orthogonal matrices. (2017)