Added test/example program
Added fast sampling support for asymmetric constant boundaries