Cleaned ENCODER and added bugs to README