I've arranged something like that in Excel/Openoffice with my car's gearing and power chart coupled together, but I don't know how to matematically calculate the best shifting points to maximize acceleration. Maybe someone here can help me out? Check out the attachment.