Added more documentation

Should be complete for submission now.