Bugfixes for fitEdge function

Additional parameters for feature representatation (alpha etc.)