Work on free floating weights
Now saves nb of demos and nb of features to file