library: simplified calculate_surface_angle alg

Does not apply a gaussian filter, always aligns the parameter.