BROKE LOTS OF THINGS - refactored things from model to project
Raises error if any values of std are 0
Big changes - tests all broken, refactored logic to project