Make `floor` and `ceil` return integers (in numpy)
Still trying to make the example work (stimuli seem to be ok now)