added sample for buckcal_lib.bc functions
updated buckcal_lib.bc