CHANGE: method param type generalization, some method marked as deprecated, refactored mean and variance calculation