Making Path Integrals works with CPU.

Added radio buttons to switch devices.
Issue #24 and #34

Updated demos.txt