Implement a NumPy variational autoencoder forward pass with mean, log variance, reparameterization, and reconstruction.