The vertex of a quadratic function is located at (1,4) and the y-intercept of the function is (0,1). What is the value of a if the function is written in the form y=a(x-h)^2+k