A few small fixes to smacof algorithm