Fix changed Sample constructor.

The Sample constructor changed in the newts project.

This Pull Request fixes the compile error.

Please review and merge.

Thanks :)