Fast mode decision algorithm for intra prediction in HEVC