Refactor: Make sins/coss visible only to lsys.cpp
Refactor: Replace memory aliasing with std::vector