Fit simulated annealing to new pointsettype module