Appendix: Optica Function Listing