Added scale kernel. summing kernel next. Is complicated, needs more work