Changed some variables from SCReal to real in FE kernel.