Anisotropy and magnetostriction in metallic glasses