Add function to retrieve random subsets of a matrix.
Add function to threshold images based on local mean
Add function to bit shift numeric types.

Just circshift with dec2bin.