So I understand you are using these features to populate them with the cluster centers and in the end returning them with the SGMatrix. What about using just an SGMatrix directly? It seems cleaner.