Please refer to flaim for sample usage and more information.