Refactoring MocapSocet,.cs (currently in a broken state)