final int dimensionality = means.get(0).getDimensionality();
for(int i = 0; i < k; i++) {
Matrix m = Matrix.identity(dimensionality, dimensionality);
covarianceMatrices.add(m);
normDistrFactor.add(1.0 / Math.sqrt(Math.pow(MathUtil.TWOPI, dimensionality) * m.det()));
invCovMatr.add(m.inverse());
clusterWeights.add(1.0 / k);
if(logger.isDebuggingFinest()) {
StringBuffer msg = new StringBuffer();
msg.append(" model ").append(i).append(":\n");