Perfect distance control with your wedges - Building a wedge matrix