Add twin cylinder base module. Taken from the Hallibutron code.