Working on surface extraction
Fixed a bug in phase computation
Updated API docs