A framework for privacy-preserving, distributed machine learning using gradient obfuscation