Working on multidevice blackscholes but getting blocked indef