Clean up / increase efficiency of LD Matrix method (#2040) (#2083)
Clean up / increase efficiency of LD Matrix method (#2040) (#2083)

* Replaced multiply with more efficient multiply in LD Matrix

* Used better transpose

* Simplified LD matrix code, reduced number of collects from 3 to 1

* Removed unneccessary import

* addressed comments, removed caching
danking/hail,danking/hail,hail-is/hail,danking/hail,danking/hail,cseed/hail,hail-is/hail,danking/hail,danking/hail,hail-is/hail,cseed/hail,hail-is/hail,hail-is/hail,hail-is/hail,cseed/hail,hail-is/hail,cseed/hail,danking/hail,danking/hail,hail-is/hail,cseed/hail,cseed/hail,cseed/hail,cseed/hail