shadow_bind_data function

Bind the shadow matrix to the data