Fix no initialization in get_projections. Use a define for nonref point