Stable version of AIMBAT with as few dependencies as possible