topic/PLAT-6804

Refactor BasisFunctionGenerator
Change "index must be in range {].." into "index must be in range {}" for correct printing.