major revisions
vectorized aitchison variation code