normalize_2d function

Normalize a 2D 'stars' object