gah
got spart pointers and initializer lists working
working on inherited autoencoder