Finished LOS code, merging locally so I can resolve errors. Not sure about testing...