Taking apart neural networks and putting them back together