TreatBoundaryGpu implemented

Done. Double would be nice...