Code for the LCMV paper using LHS