Update LD_heatmap.r

faster, less bugs, output files