Added support for selecting type in bernoulli_mixture.py.

- This can help avoid memory issues.
Merge branch 'dev-gustav2' of github.com:amitgroup/amitgroup into dev-gustav2

Conflicts:
	amitgroup/stats/bernoulli_mixture.py