Fixed PHONY in Makefile.
Moved Data.get_scale to core.get_constant.