Intelligent Power Assist Algorithms For Electric Bicycles