Work in Progress, LSD Works

LSD Works, L matrix is obtained. Code not yet optimized/formally
arranged.