Added function and docs for a write GRM function that appears to be working