}
public Mds(DenseMatrix dissimilarities, Points initial,
Function fConfigDist, Function fWeights, Function fDtarget) {
len = dissimilarities.rowCount();
Dtarget = dissimilarities;
config_dist = new SymmetricMatrix(len);
this.pos = initial == null ? new Points(len) : initial;
this.gradient = new Points(len);
f_config_dist = fConfigDist;
f_weights = fWeights;
f_dtarget = fDtarget;