How Scientific Knowledge Works–Modeling the Cycle of Scientific Investigation