Assorted utilities for neuroimaging and cognitive science