Merge pull request #2 from symform/master

Fix a number of places where "fixed" keyword does not cover the IntPtr references.
Ask only once about the availability of an algorithm since it can be costly to do so each time (e.g. if the instance are not reused)