Update documentation,

Fix prime function

That's all I remember