Add FFT functions

Also add new size types to BKBase.h.