finished compression distance and cache functionality
fixed bug in compile script
implementation of compression distance was ... erhm ... crap. fixed it
added missing options