Fixes to example/scaling and GPU Kernels
Adding examples/error