Introduction to Hilbert Spaces with Applications