sKAdam: An improved scalar extension of KAdam for function optimization