Refactor functions to use Pydantic models for input validation and enhance the application with additional NumPy-based mathematical tools. 1b61f97 matsuap commited on May 14