New code for principal axes. Pictures filtered