Working on LP stability. All code is implemented, but it doesn't give correct results yet.