Added ones() and zeros() functions returning buffers wit 1's and 0's