Spline Library

Added a spline library for arc simulation