Samsung ordered to pay $118 million in patent dispute with Netlist