Cut out many unneeded parts of code base. Currently broken until new log_ll function can be made