Correct basic case with feedback from jraadt
Constructors for other algorithms