joint gramian tuning