Started porting libraries to a new layout, and wrote unit tests for y_als and y_zonepulse.