Use exp() instead of __expf() for double in sigmoid kernel