added coral fxns, closes #13
made logical params atually use logical values for coral, #13