Refactor GMW
GMW cleanup
Fix input operation to distribute random shares