Replace repmat by bsxfun in lmmcp

Following Michel Juillard's suggestion. It is much faster (for
large-scale problems) and reduces a lot memory use.