Add method to calculate dimensions of inputML and outputML
Motivation:
It might be helpful for a user to know the input and output dimensions of the ML model, as a hint on how to choose the dimensions of the hidden layers and of the latent variable.