Added callback pointer init and NULL check
Fixed segm fault and added new Set function with float array.