Add loft method to Offset module.
Fix to use boolean type in sweep_path.