trying to not use theano in layers class