better initialisation and gaussian prior on n