Implemented and tested violate data phase. Closes #210. Closes #211.