use matrix transforms for positioning calculations