Medusa Architecture in LLMs: Algorithms & Equations