Consider the function defined by the equation $$g(x) = x^2 - 4x + 5$$.
What is the value of $$g(1)$$? Please calculate this by substituting the value of $$x$$ into the function.