Revert "Linear models in python"

This reverts commit 42ab025ddfe0fabbde32a9af8b9b86e4f5960bcf.