An Introduction to Distribution Theory and Applications