cleaned compensators code, now with working lag and lead implementations