Yeah, sure, I saw that in your code. My comment was meant for Valdsator. You already seem to have put a some effort in that issue. It's strange. Anisotropy always worked for me right out of the box.
Always learn from history, to be sure you make the same mistakes again...